import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../views/Login'
import Home from '../views/Home'
import Article from '../views/Article'
Vue.use(VueRouter)

const routes = [
	{
		path: '/login',
		component: Login
	},
	{
		path: '/',
		component: Home,
		children: [
			{
				path: '/article',
				component: Article,
				
			}
		]
	},
	
  
]

const router = new VueRouter({
  routes
})

export default router
